package com.entity;

import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Data
@TableName("订单表")
public class OrderFrom {
    private String dingdanbianhao;
    private String yonghuming;
    private String lianxidianhua;
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat
    private Date xiadanshijian;
    List<OrderDetail> orderDetails;
    private String zongjine;

}
